package com.xy.annotaion.handler.aop.advice;

import com.xy.annotaion.handler.common.log.LogService;
import com.xy.annotaion.handler.util.Pointer;
import org.aopalliance.aop.Advice;
import org.aopalliance.intercept.Invocation;

/**
 * @author Dell
 */
//@Deprecated
public class TestAdvice implements Advice, LogService {

    public Object invoke(Invocation invocation) throws Throwable {
        Pointer.lg("(1)");
        log("TestAopLog:", invocation);
        return invocation.proceed();
    }

}
